package router

import (
	"fileNest/controller"

	"github.com/gin-gonic/gin"
)

func RegisterAuth(route *gin.Engine) {
	r := route.Group("/api/auth")
	r.POST("login", controller.Login)
	r.POST("register", controller.Register)
}
